all: pull push

.PHONY: push pull build

push:
	git pull
	git add .
	git commit -m "Update."
	git push origin master

pull:
	git pull

build:
	CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags '-w -s' -o tools
	upx tools
	mv -f tools ./bin/